package com.cw.japp

class UserProfile {

	Date birthDate
	String gender
	String sexualPref
	String maritalStatus
	String ethinicity
	String eyeColor
	String hair
	String bodyType
	Integer weight
	Integer height
	String weightUnit
	String heightUnit
	String smoke
	String drink
	String drugs
	String occupation
	String school
	byte[] favFood
	byte[] pets
	byte[] cars
	byte[] talent
	byte[] perfectMate
	byte[] turnOnsOffs
	byte[] perfectDate
	byte[] meaningOfLife
	byte[] favoriteBooks
	byte[] favoriteMovies
	byte[] favoriteMusic
	byte[] hobbies
	byte[] craziestThingEverDone
	byte[] anywhereRightNow
	byte[] fiveThingsCannotLiveWithout
	byte[] doForFun
	byte[] reasonToKnowMe
	byte[] moreAboutMe
	Integer status
	Date lastModifiedDate
	Date createdDate
	Users users

	static belongsTo = [Users]

	static mapping = {
		id column: "profile_id"
		version false
	}

	static constraints = {
		birthDate nullable: true
		gender nullable: true, maxSize: 45
		sexualPref nullable: true, maxSize: 45
		maritalStatus nullable: true, maxSize: 45
		ethinicity nullable: true, maxSize: 45
		eyeColor nullable: true, maxSize: 45
		hair nullable: true, maxSize: 45
		bodyType nullable: true, maxSize: 45
		weight nullable: true
		height nullable: true
		weightUnit nullable: true, maxSize: 45
		heightUnit nullable: true, maxSize: 45
		smoke nullable: true, maxSize: 45
		drink nullable: true, maxSize: 45
		drugs nullable: true, maxSize: 45
		occupation nullable: true
		school nullable: true
		favFood nullable: true
		pets nullable: true
		cars nullable: true
		talent nullable: true
		perfectMate nullable: true
		turnOnsOffs nullable: true
		perfectDate nullable: true
		meaningOfLife nullable: true
		favoriteBooks nullable: true
		favoriteMovies nullable: true
		favoriteMusic nullable: true
		hobbies nullable: true
		craziestThingEverDone nullable: true
		anywhereRightNow nullable: true
		fiveThingsCannotLiveWithout nullable: true
		doForFun nullable: true
		reasonToKnowMe nullable: true
		moreAboutMe nullable: true
		status nullable: true
		lastModifiedDate nullable: true
		createdDate nullable: true
	}
}
